import requests
import json

def call_interface(callId):
    params = {
        'method': 'invokeXML',
    }
    with open('cookie.txt', 'r', encoding='utf-8') as f:
        headers = json.load(f)

    data = {"callId":callId}
    response = requests.post(
        'http://59.215.206.188/ddglzy/dispatch/dockingcenter/call',
        params=params,
        headers=headers,
        json=data,
    )

    return response.json()

# 示例调用
# response = call_interface('80F0D3AC27A942BA90FA84F4F4C2DF4B')